﻿using System;
using System.Collections.Generic;
using AgileBoard.Domain;

namespace AgileBoard.Demo
{
    public class FakeRoleData
    {
        public static List<Role> CreateTestRoles()
        {
            var roles = new List<Role>
                            {
                                Administrator(),
                                LeadDeveloper(),
                                Developer()
                            };

            return roles;
        }

        public static Role Administrator()
        {
            var someRole = new Role
                               {
                                   RoleGUID = new Guid("2EBDBC36-3585-47b3-8709-BE3184956938"),
                                   RoleID = 1,
                                   CreateTime = DateTime.Now,
                                   Name = "Manager"
                               };

            return someRole;
        }

        public static Role Developer()
        {
            var demo = new Role
                           {
                               RoleGUID = new Guid("29DC7A46-52B5-4941-AAE2-F48592847E42"),
                               RoleID = 3,
                               CreateTime = DateTime.Now,
                               Name = "Developer"
                           };

            return demo;
        }

        public static Role LeadDeveloper()
        {
            var Default = new Role
                              {
                                  RoleGUID = new Guid("BE4B0656-8685-439e-B4EA-66D5C9BA7508"),
                                  RoleID = 2,
                                  CreateTime = DateTime.Now,
                                  Name = "LeadDeveloper"
                              };

            return Default;
        }
    }
}